package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 收货地址对象 sys_location
 *
 * @author theme
 * @date 2021-01-20
 */
public class SysLocation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单主键
     */
    private Long id;

    /**
     * 详细地址
     */
    @ApiModelProperty(name = "详细地址")
    private String detail;

    /**
     * 手机号
     */
    @ApiModelProperty(name = "手机号")
    private String phone;

    /**
     * 收货人
     */
    @ApiModelProperty(name = "收货人")
    private String name;

    /**
     * 银行用户唯一标识
     */
    @ApiModelProperty(name = "银行用户唯一标识")
    private String bankUserSign;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getDetail() {
        return detail;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setBankUserSign(String bankUserSign) {
        this.bankUserSign = bankUserSign;
    }

    public String getBankUserSign() {
        return bankUserSign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("detail", getDetail())
                .append("phone", getPhone())
                .append("name", getName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("bankUserSign", getBankUserSign())
                .toString();
    }
}
